CoursePrerequisiteRule 
EntityType  Independent 
Logical Entity Name  CoursePrerequisiteRule 
Default Table Name  AdCoursePreReqRule 
Logical Only  NO 
Definition 
 
Note 
 

CoursePrerequisiteRule Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
CoursePrerequisiteRuleId(PK)    INTEGER  NO 
 
Name    VARCHAR(100)  YES 
 
CourseId(FK)    INTEGER  NO 
 
ParentCoursePrerequisiteRuleId(FK)    INTEGER  YES 
 
RuleType    CHAR(1)  YES 
 
Operator    VARCHAR(10)  YES 
 
NumberRequired    INTEGER  YES 
 
LastModifiedUserId(FK)    INTEGER  NO 
 
CreatedDateTime    DATETIME  NO 
 
LastModifiedDateTime    DATETIME  NO 
 
RowVersion    TIMESTAMP/DATE  NO 
 

CoursePrerequisiteRule Keys 
Key Name  Key Type  Keys 
Pk_AdCoursePreReqRuleAdCoursePreReqRulesID  PrimaryKey  CoursePrerequisiteRuleId 
Nk_AdCoursePreReqRule_ParentRuleID  Inversion Entry  ParentCoursePrerequisiteRuleId 
Nk_AdCoursePreReqRule_AdCourseID  Inversion Entry  CourseId 

CoursePrerequisiteRule Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
Course  Non-Identifying  Zero or One to Zero or More        CourseId  NO 
Course  Non-Identifying  One To Zero or More        CourseId  NO 
CoursePrerequisiteRule  Non-Identifying  Zero or One to Zero or More        ParentCoursePrerequisiteRuleId  NO 
Staff  Non-Identifying  One To Zero or More        LastModifiedUserId  NO 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 
CoursePrerequisiteRuleCourse  Non-Identifying  One To Zero or More          NO 
CoursePrerequisiteRuleCourse  Non-Identifying  One To Zero or More          NO 
CoursePrerequisiteRule  Non-Identifying  One To Zero or More          NO 

CoursePrerequisiteRule Check Constraints 
Check Constraint Name  CheckConstraint